<%@ include file="/WEB-INF/jsp/includes/include.jsp" %>
<div id="bannerLoginAndSearch">
	<div id="banner">
		<img src="<c:url value="/images/banner.jpg"/>" alt="Hands United" height="80" width="565" />
	</div> <!-- #banner -->

	<div id="loginbar">
		<ul id="headerLinks" class="headerLinks">
			<c:choose>
				<c:when test="${!empty loggedInUser}">
					<li class="headerLink"><a href="<c:url value="/user/profile.html"/>">${loggedInUser.name}</a></li>
					<li class="headerLink"><a href="<c:url value="/user/editprofile.html"/>">Edit Profile</a></li>
					<li class="headerLinkLast"><a href="<c:url value="/user/logoff.html"/>">Log Out</a></li>
				</c:when>
				<c:otherwise>
					<li class="headerLink"><a href="<c:url value="/user/login.html"/>">Login</a></li> 
					<li class="headerLinkLast"><a href="<c:url value="/user/register.html"/>">Register</a></li>
				</c:otherwise>
			</c:choose>
		</ul>
	</div> <!-- #loginbar -->

	<div id="searchbox">
		<form action="/handsunited/search.html" method="post">
			<div id="keywordSearch">
				<label for="keywords">Search:</label>
				<input name="keywords" size="30" type="text" />
				<input value="Go" type="submit" />
			</div>
		</form>
	</div> <!-- #searchbox -->
</div> <!-- #bannerLoginAndSearch -->
